package chixing.day11.prototype;

public class EnterpriseOrder extends AbstractOrder{
    public EnterpriseOrder() {
    }

    public EnterpriseOrder(int orderId, String orderOwneName, int orderNumber) {
        super(orderId, orderOwneName, orderNumber);
    }

    @Override
    public Order myclone() {
        EnterpriseOrder enterpriseOrder = new EnterpriseOrder();
        enterpriseOrder.setOrderId(this.getOrderId());
        enterpriseOrder.setOrderOwneName(this.getOrderOwneName());
        return enterpriseOrder;
    }
}
